import { createApp } from 'vue'
import App from './App.vue'
import { createPinia } from 'pinia'

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'; 

import './styles/theme.css'
import router from '@/router';
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

import '@/styles/main.css';

const pinia = createPinia()
pinia.use(piniaPluginPersistedstate);


const app = createApp(App);

app.use(ElementPlus, { size: 'small', zIndex: 3000 })
app.use(router);
app.use(pinia);

app.mount('#app');